package com.itheima.springbootquickstart.pojo;

/**
 * User
 *
 * @author zhaokf
 * @date 2024/11/12
 */

public class User {
    //ID
    private Long id;
    //'姓名'
    private String name;
    //'年龄'
    private Integer age;
    //性别, 1:男,2:女
    private Integer gender;
    //'手机号'
    private String phone;

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public Integer getAge() {
        return age;
    }

    public void setAge(Integer age) {
        this.age = age;
    }

    public Integer getGender() {
        return gender;
    }

    public void setGender(Integer gender) {
        this.gender = gender;
    }

    public String getPhone() {
        return phone;
    }

    public void setPhone(String phone) {
        this.phone = phone;
    }
}
